<template>
  <div class="el-main">
    <div id="container"></div>
  </div>
</template>

<script>
  import tencentmap from '../../model/tencentmap'
  // import qq from 'qq'
  export default {
    name: "async",
    data() {
      return {
        map: null
      }
    },
    mounted() {
      this.map = tencentmap.init();
      tencentmap.cityService().searchCityByName("武汉市");
      setTimeout(() => {
        tencentmap.clearOverlays();
      }, 5000);
    },
    methods: {}
  }
</script>

<style scoped>
  #container {
    min-width: 600px;
    min-height: 300px;
  }
</style>
